package cn.caplike.demo.repository.java.reflect;

import java.lang.reflect.Method;

/**
 * Description:
 *
 * @author LiKe
 * @version 1.0.0
 * @date 2022-07-25 13:49
 */
public class JavaReflect {

    public static void main(String[] args) throws NoSuchMethodException {
        final Method update = Sample.class.getDeclaredMethod("update", int.class, String.class);
        System.out.println(update);
        System.out.println(update.toGenericString());
    }
}
